forum

home / developersection / forums / c# reading configuration settings

C# Reading Configuration settings

Anonymous User 2817 31-Jan-2014

I have a C# class library A which has some configuration settings in its App.config I access them with

Method1()
{
string connectionString = ConfigurationManager.AppSettings["ConnectionString"];
}

But when I call Method 1() from my ASP Web project B, it cannot find the configurations settings in the Class library A

Any idea what is happening here?


c# c# 
Updated on 31-Jan-2014

I am a content writter !


Message
Can you answer this question?

Answer

1 Answers

Liked By